<!DOCTYPE html>

<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新的input支持</title>

    <style type="text/css">
        .wrapper {
            width: 60%;
            padding: 15px 0;
            border: 1px solid blue;
            margin: 15px auto;
            text-align: center;
        }
        
        .wrapper>* {
            vertical-align: middle;
        }
        
        .wrapper span {
            display: inline-block;
            width: 15%;
            text-align: right;
        }
        
        .wrapper input {
            width: 70%;
            height: 30px;
            line-height: 30px;
            font-size: 20px;
        }
    </style>
</head>

<body>

    <form action="">
        <div class="wrapper">
            <span>邮箱:</span>
            <input type="email" name="email" required>
        </div>

        <div class="wrapper">
            <span>网址:</span>
            <input type="url" name="url">
        </div>
        <div class="wrapper">
            <span>日期:</span>
            <input type="date" name="date">
        </div>
        <div class="wrapper">
            <span>时间:</span>
            <input type="time" name="time">
        </div>
        <div class="wrapper">
            <span>年份和月份:</span>
            <input type="month" name="month">
        </div>
        <div class="wrapper">
            <span>年份中的星期:</span>
            <input type="week" name="week">
        </div>
        <div class="wrapper">
            <span>数字:</span>
            <input type="number" name="number">
        </div>
        <div class="wrapper">
            <span>电话:</span>
            <input type="tel" name="tel">
        </div>
        <div class="wrapper">
            <span>颜色:</span>
            <input type="color" name="color">
        </div>
        <div class="wrapper">
            <span>搜索:</span>
            <input type="search" name="search">
        </div>

        <div class="wrapper">
            <button type="submit">提交</button>
        </div>
    </form>

    <div>
        <a href="/">返回首页</a>
    </div>

</body>

</html>